package com.wavecoler.professor.objects;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;
/*
 * 
 * Guarda los datos del Tipo de Diferencia.
 * 
 */


@PersistenceCapable
public class DifferenceType implements Serializable {

	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key differenceTypeID;
	
	@Persistent
	private int numDifference; 

	@Persistent
	private String descrption; 
	
	@Persistent
	private float weight;

	public Key getDifferenceTypeID() {
		return differenceTypeID;
	}

	public void setDifferenceTypeID(Key differenceTypeID) {
		this.differenceTypeID = differenceTypeID;
	}

	public int getNumDifference() {
		return numDifference;
	}

	public void setNumDifference(int numDifference) {
		this.numDifference = numDifference;
	}

	public String getDescrption() {
		return descrption;
	}

	public void setDescrption(String descrption) {
		this.descrption = descrption;
	}

	public float getWeight() {
		return weight;
	}

	public void setWeight(float weight) {
		this.weight = weight;
	}
	
	
	
}
